package com.example.redis_demo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.redis.core.index.Indexed;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Address {
    @Indexed
    private String country; //国家
    @Indexed
    private String city; //城市

}
